how to create dynamic connection string in c